package de.thw.web.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.DomainDAO;
import de.thw.web.model.Domain;

@Repository("DomainDAO")
@Transactional
public class DomainDAOImpl extends AbstractDAOImpl<Domain> implements DomainDAO {

	public Domain load(String uid) {
		return super.load(Domain.class, uid);
	};

	public List<Domain> getAll() {
		return super.getAll("Domain");
	};

};